/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class KhuVuc {
    private int MaKV;
    private int MaNN;
    private String TenKV;
    private byte TinhTrang;
    public KhuVuc(){
        MaKV = 0;
        MaNN = 0;
        TenKV = "";
        TinhTrang = 0;
    }
    public void setMaKV (int value){
        MaKV = value;
    }
    public int getMaKV(){
        return MaKV;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setTenKV (String value){
        if(value == null)
            value = "";
        TenKV = value;
    }
    public String getTenKV(){
        return TenKV;
    }
    public void setTinhTrang (byte value){
        TinhTrang = value;
    }
    public byte getTinhTrang(){
        return TinhTrang;
    }
}
